<template>
  <view>
    这是主页
    <button @click="open">打开弹窗</button>
    <uni-popup ref="popupRef" type="bottom" border-radius="10px 10px 0 0">底部弹出 Popup 自定义圆角</uni-popup>
  </view>
</template>

<script setup>
import { ref } from 'vue'

const a = 2
const popupRef = ref(null)

console.log(a)

uni.showToast({
  title: '成功'
})

const open = () => {
  popupRef.value.open('top')
}

</script>

<style scoped lang="scss">

</style>
